﻿using System;
using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace TodoApp.Migrations
{
    public partial class v26 : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.CreateTable(
                name: "TMS_ViolationModel",
                columns: table => new
                {
                    Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
                    Viotitel = table.Column<string>(type: "nvarchar(max)", nullable: true),
                    VioNumber = table.Column<string>(type: "nvarchar(max)", nullable: true),
                    Vioyuan = table.Column<string>(type: "nvarchar(max)", nullable: true),
                    VioPeop = table.Column<string>(type: "nvarchar(max)", nullable: true),
                    Viomiao = table.Column<string>(type: "nvarchar(max)", nullable: true),
                    VioTim = table.Column<DateTime>(type: "datetime2", nullable: false),
                    VioTxt = table.Column<string>(type: "nvarchar(max)", nullable: true)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_TMS_ViolationModel", x => x.Id);
                });
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropTable(
                name: "TMS_ViolationModel");
        }
    }
}
